package com.iotmonitor.iot.domain.dto;


import java.io.Serializable;

public class AlarmMsg implements Serializable {

    private String deviceId;//设备id

    private String alarmName;//告警名称

    private String quotaName;//指标名称

    private String stringValue;//文本指标值

    private Double valuel;//指标值

    private Integer level;// 告警级别

    private Boolean online;//联网状态

    private Boolean alarm;// 是否告警

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getAlarmName() {
        return alarmName;
    }

    public void setAlarmName(String alarmName) {
        this.alarmName = alarmName;
    }

    public String getQuotaName() {
        return quotaName;
    }

    public void setQuotaName(String quotaName) {
        this.quotaName = quotaName;
    }

    public String getStringValue() {
        return stringValue;
    }

    public void setStringValue(String stringValue) {
        this.stringValue = stringValue;
    }

    public Double getValuel() {
        return valuel;
    }

    public void setValuel(Double valuel) {
        this.valuel = valuel;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Boolean getOnline() {
        return online;
    }

    public void setOnline(Boolean online) {
        this.online = online;
    }

    public Boolean getAlarm() {
        return alarm;
    }

    public void setAlarm(Boolean alarm) {
        this.alarm = alarm;
    }

    @Override
    public String toString() {
        return "AlarmMsg{" +
                "deviceId='" + deviceId + '\'' +
                ", alarmName='" + alarmName + '\'' +
                ", quotaName='" + quotaName + '\'' +
                ", stringValue='" + stringValue + '\'' +
                ", valuel=" + valuel +
                ", level=" + level +
                ", online=" + online +
                ", alarm=" + alarm +
                '}';
    }
}
